<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/swiper.min.css">
    <link rel="stylesheet" href="css/index.css">
    <title>广告轮播页</title>
</head>

<body>
    <div class="swiper-container entry">
        <ul class="swiper-wrapper">
            <li class="swiper-slide">
                <img src="images/entrybg1.jpg" alt="">
            </li>
            <li class="swiper-slide">
                <img src="images/entrybg1.jpg" alt="">
            </li>
            <li class="swiper-slide">
                <img src="images/entrybg1.jpg" alt="">
            </li>
        </ul>

        <div class="swiper-pagination"></div>

        <button class="tiaoguo" onclick="jumpToHome()">
            <p>跳过</p>
        </button>
    </div>
    <script src="js/swiper.min.js"></script>
    <script type="text/javascript">
        var mySwiper = new Swiper('.swiper-container', {
            // loop: true,
            // autoplay: true,
            // delay: 2500,
            slidesPerView: 'auto',
            centeredSlides: true,
            stopLastSlide: true,
            pagination: {
                el: '.swiper-pagination',
            }

        });

        function jumpToHome() {
            window.location.href = "home.html";
        }
    </script>
</body>

</html>